/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contact Page Styles */
.contact-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.breadcrumb-item.active {
    opacity: 1;
    font-weight: 500;
}

.breadcrumb-separator {
    opacity: 0.6;
}

/* Success Notification */
.notification-banner {
    padding: 1rem 0;
    background: #f8f9fa;
}

.success-notification {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    position: relative;
    animation: slideInDown 0.6s ease-out;
}

.notification-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.notification-content h3 {
    margin: 0 0 8px 0;
    font-weight: 600;
    font-size: 1.2rem;
}

.notification-content p {
    margin: 0;
    opacity: 0.95;
}

.notification-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 4px;
}

.notification-close:hover {
    opacity: 1;
}

/* Main Contact Section */
.contact-main-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

/* Contact Info Panel */
.contact-info-panel {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 32px;
}

.info-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.7;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.info-card:hover {
    background: #e9ecef;
    transform: translateX(8px);
    border-left-color: #667eea;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.address-icon { 
    background: linear-gradient(135deg, #ff6b6b, #ee5a24); 
}

.phone-icon { 
    background: linear-gradient(135deg, #4ecdc4, #44a08d); 
}

.email-icon { 
    background: linear-gradient(135deg, #a8edea, #fed6e3); 
    color: #333; 
}

.time-icon { 
    background: linear-gradient(135deg, #ffecd2, #fcb69f); 
    color: #333; 
}

.card-content {
    flex: 1;
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.card-text {
    color: #6c757d;
    margin-bottom: 8px;
    line-height: 1.6;
}

.card-text a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.card-text a:hover {
    text-decoration: underline;
}

.card-link, 
.availability-badge, 
.response-time {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
}

.card-link {
    background: #667eea;
    color: white;
    transition: background 0.3s ease;
}

.card-link:hover {
    background: #5a6fd8;
}

.availability-badge {
    background: #d4edda;
    color: #155724;
}

.response-time {
    background: #fff3cd;
    color: #856404;
}

/* Quick Actions */
.quick-actions {
    padding-top: 32px;
    border-top: 1px solid #e9ecef;
}

.actions-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.primary-action {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.secondary-action {
    background: white;
    color: #667eea;
    border-color: #667eea;
}

.tertiary-action {
    background: #f8f9fa;
    color: #6c757d;
    border-color: #e9ecef;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Form Panel */
.contact-form-panel {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-header {
    margin-bottom: 32px;
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Enhanced Form Styles */
.enhanced-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
    font-size: 0.95rem;
}

.label-text {
    display: inline-block;
}

.required-asterisk {
    color: #e74c3c;
    font-weight: bold;
}

.input-wrapper, 
.select-wrapper, 
.textarea-wrapper {
    position: relative;
}

.form-input, 
.form-select, 
.form-textarea {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #fafafa;
    outline: none;
}

.form-input:focus, 
.form-select:focus, 
.form-textarea:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.input-icon, 
.select-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    font-size: 1rem;
}

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
}

.form-textarea {
    padding: 16px;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.textarea-wrapper {
    position: relative;
}

.character-count {
    position: absolute;
    bottom: 8px;
    right: 16px;
    font-size: 0.8rem;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 8px;
    border-radius: 4px;
    pointer-events: none;
}

/* Form Actions */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: inline-block;
}

.btn-icon {
    display: inline-block;
    font-size: 1rem;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    margin: 0;
    max-width: 400px;
}

/* FAQ Section */
.contact-faq-section {
    padding: 48px 0;
    background: white;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-header .section-title {
    margin-bottom: 16px;
}

.faq-header .section-description {
    font-size: 1.1rem;
    color: #6c757d;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.faq-item {
    padding: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-4px);
}

.faq-question {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.faq-answer {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container-fluid {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-info-panel {
        position: static;
        order: 2;
    }
    
    .contact-form-panel {
        order: 1;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title, .form-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding: 0 16px;
    }
    
    .contact-hero {
        height: 50vh;
        min-height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-main-section {
        padding: 40px 0;
    }
    
    .contact-info-panel, 
    .contact-form-panel {
        padding: 24px;
    }
    
    .section-title, .form-title {
        font-size: 1.6rem;
    }
    
    .info-card {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }
    
    .card-icon {
        align-self: center;
    }
    
    .action-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .action-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        width: 100%;
        padding: 16px 32px;
    }
    
    .form-input, 
    .form-select, 
    .form-textarea {
        padding: 12px 12px 12px 40px;
    }
    
    .input-icon, 
    .select-icon {
        left: 12px;
    }
    
    .faq-item {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .container-fluid {
        padding: 0 12px;
    }
    
    .contact-main-section {
        padding: 32px 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .contact-info-panel, 
    .contact-form-panel {
        padding: 20px;
        border-radius: 16px;
    }
    
    .success-notification {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .notification-close {
        top: 12px;
        right: 12px;
    }
    
    .form-input, 
    .form-select, 
    .form-textarea {
        padding: 12px 12px 12px 36px;
        font-size: 0.95rem;
    }
    
    .input-icon, 
    .select-icon {
        left: 10px;
        font-size: 0.9rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .contact-hero,
    .notification-banner,
    .quick-actions,
    .submit-btn,
    .contact-faq-section {
        display: none;
    }
    
    .contact-main-section {
        padding: 0;
        background: white;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-info-panel,
    .contact-form-panel {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-input, 
    .form-select, 
    .form-textarea {
        border-width: 3px;
    }
    
    .submit-btn {
        border: 3px solid #333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .info-card:hover {
        transform: none;
    }
    
    .action-btn:hover,
    .submit-btn:hover {
        transform: none;
    }
}
